package com.grm.workflow.service;

import com.grm.common.entity.PageResult;
import com.grm.workflow.request.model.WfModelAddParam;
import com.grm.workflow.request.model.WfModelDesignParam;
import com.grm.workflow.request.model.WfModelQueryParam;
import com.grm.workflow.request.model.WfModelUpdateParam;
import com.grm.workflow.response.WfModelResponse;

public interface WfModelService {
    PageResult<WfModelResponse> querySelective(Integer pageNum, Integer pageSize, WfModelQueryParam queryParam);

    void add(WfModelAddParam addParam);

    void design(WfModelDesignParam designParam);

    void delete(String modelId);

    void deploy(String modelId);

    String queryBpmnImage(String modelId);

    void update(WfModelUpdateParam updateParam);

    String queryBpmnXml(String modelId);
}
